//
//  HNHappyTimeFMDB.h
//  XDEducation
//
//  Created by 星道 on 17/8/3.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HNHappyTimeTalkModel.h"

@interface HNHappyTimeFMDB : NSObject

/** 实例化并回调数据库的打开情况 */
- (instancetype)initWithID:(NSNumber *)ID;

/** 关闭数据库 */
- (void)CloseSql;

/** 查询数据 */
- (NSArray <HNHappyTimeTalkModel *>*)QueryData;

/** 播放数据，传入聊天的内容 */
- (void)InsertDataWithStr:(NSString *)Str Complete:(void(^)(BOOL,HNHappyTimeTalkModel *))Complete;
@end
